import pytesseract
from urllib import request
from PIL import Image
import time

for i in  range(20):
	captchaUrl = "https://passport.lagou.com/vcode/create"
	request.urlretrieve(captchaUrl,'captcha.png')
	image = Image.open('captcha.png')
	text = pytesseract.image_to_string(image,lang='eng')
	print(text)
	time.sleep(2)
